package org.jeecg.modules.rental.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.rental.entity.RentalConfig;

import java.util.List;

/**
 * @Description: 租车配置
 * @Author: jeecg-boot
 * @Date:   2024-06-20
 * @Version: V1.0
 */
public interface IRentalConfigService extends IService<RentalConfig> {

    void init();

    void initCache();

    RentalConfig get(String configKey);

    RentalConfig add(RentalConfig entity);

    RentalConfig edit(RentalConfig entity);

    Boolean deleteById(String id);

    Boolean deleteBatch(List<String> ids);

    List<RentalConfig> batchConfig(List<String> list);

    RentalConfig getVehicleQrCodePrefix();

    RentalConfig getSocketQrCodePrefix();

}
